package com.hu.zhcc.shiro.service.xsf;

import com.hu.zhcc.common.entity.Page;
import com.hu.zhcc.shiro.entity.xsf.dto.TDiseaseLibraryDTO;
import com.hu.zhcc.shiro.entity.xsf.dto.TMealsDTO;
import com.hu.zhcc.shiro.entity.xsf.pojo.TDiseaseLibrary;
import com.hu.zhcc.shiro.entity.xsf.pojo.TMeals;

import java.util.List;
import java.util.Map;

public interface TDiseaseLibraryService {
    Page<TDiseaseLibraryDTO> queryAllTDisease(Map<String, Object> paremeters, int offset, int limit);

    TDiseaseLibraryDTO getById(int id);

    List<TDiseaseLibrary> queryAllTDisease1();

    TDiseaseLibrary selectByPrimaryKey(Integer id);


    TDiseaseLibraryDTO saveTDiseaseLibrary(TDiseaseLibraryDTO dto);

    int removeTDiseaseLibrary(int id);

    int updateTDiseaseLibrary(TDiseaseLibrary tDiseaseLibrary);
}
